<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<jsp:useBean id="pacientes" type="java.util.Vector" scope="request" />
<jsp:useBean id="pacienteEditar" class="br.com.sgac.model.Paciente" scope="request">
	<jsp:setProperty name="pacienteEditar" property="*"/>
</jsp:useBean>
<%@taglib tagdir="/WEB-INF/tags" prefix="wn" %>
<wn:JSform/>
<%@ include file="header.jsp" %>
<div id="welcome_cadpac">

<h1>Cadastro de Pacientes</h1>

<form id="formulario" action="PacienteServlet" method="POST">
<wn:FormCadPessoa/>
<wn:FormCadEndereco/>
<input id="djiabo" type="submit" value="${requestScope.acao}">
</form>
<h2 id="txt_table">Lista de Pacientes</h2>
<wn:TabelaPaciente pacientes="${pacientes}" />
</div>
<%@ include file="rodape.jsp" %>

